package com.guimin.demo.entity;

import java.math.BigDecimal;
import java.util.Date;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.experimental.Accessors;

/**
 * 桂民社区服务信息表(GuiminService)表实体类
 *
 * @author makejava
 * @since 2021-11-01 15:32:26
 */
@Accessors(chain = true)
@Data
@TableName("community_service")
public class CommunityService {
    /**主键id(PK)*/
    @TableId(type = IdType.AUTO)
    private Integer id;
    /**父id(FK)*/
    private Integer parentId;
    /**类别(0-分类,1-服务)*/
    private Integer type;
    /**服务名称*/
    private String name;
    /**服务代码*/
    private String code;
    /**单价(单位：元)*/
    private BigDecimal price;
    /**创建时间*/
    private Date createDatetime;
    /**更新时间*/
    private Date updateDatetime;
    /**状态*/
    private String state;


}

